package org.jeecg.modules.factor.mapper;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.api.entity.CyHouseGas;

import java.util.List;

/**
 * @Description: 温室气体
 * @Author: jeecg-boot
 * @Date:   2024-11-04
 * @Version: V1.0
 */
public interface CyHouseGasMapper extends BaseMapper<CyHouseGas> {


    List<CyHouseGas> getGasList(String emissionFactorId);

    List<CyHouseGas> batchGetGasRatio(List<String> EmissionFactorIdList);

    //通过碳排因子id，删除其下所有的温室气体配比
    void deleteByEmissionFactorId(String emissionFactorId);
}
